/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package model;

import java.io.Serializable;

/**
 *
 * @author SONY
 */
public class Product implements Serializable{
    
    private String productID;
    private String productName;
    private int qOH;
    private double unitPrice;
    private String imageName;
    private String categoryID;

    /**
     * @return the productID
     */
    public String getProductID() {
        return productID;
    }

    /**
     * @param productID the productID to set
     */
    public void setProductID(String productID) {
        this.productID = productID;
    }

    /**
     * @return the productName
     */
    public String getProductName() {
        return productName;
    }

    /**
     * @param productName the productName to set
     */
    public void setProductName(String productName) {
        this.productName = productName;
    }

    /**
     * @return the qOH
     */
    public int getQOH() {
        return qOH;
    }

    /**
     * @param qOH the qOH to set
     */
    public void setQOH(int qOH) {
        this.qOH = qOH;
    }

    /**
     * @return the imageName
     */
    public String getImageName() {
        return imageName;
    }

    /**
     * @param imageName the imageName to set
     */
    public void setImageName(String imageName) {
        this.imageName = imageName;
    }

    /**
     * @return the categoryID
     */
    public String getCategoryID() {
        return categoryID;
    }

    /**
     * @param categoryID the categoryID to set
     */
    public void setCategoryID(String categoryID) {
        this.categoryID = categoryID;
    }

    /**
     * @return the unitPrice
     */
    public double getUnitPrice() {
        return unitPrice;
    }

    /**
     * @param unitPrice the unitPrice to set
     */
    public void setUnitPrice(double unitPrice) {
        this.unitPrice = unitPrice;
    }
    
    public Product(String pid, String pname, int qoh, double unitprice, String imageName, String categoryid) {
        this.productID = pid;
        this.productName = pname;
        this.qOH = qoh;
        this.unitPrice = unitprice;
        this.imageName = imageName;
        this.categoryID = categoryid;
    }
}
